package com.woniu.goods.mapper;

import com.woniu.goods.entity.Order;
import com.woniu.goods.vo.OrderVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {
    int deleteByPrimaryKey(Integer orderid);

    int insert(Order record);

    Order selectByPrimaryKey(Integer orderid);

    List<Order> selectAll();

    int updateByPrimaryKey(Order record);

    List<OrderVo> selectOrderBypage(@Param("userid") Integer userid);
}